package com.xjrsoft.module.oa.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xjrsoft.module.oa.entity.XjrOaMessage;
import com.xjrsoft.module.oa.entity.XjrOaMessagestatus;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zwq
 * @since 2021-05-18
 */
public interface IXjrOaMessagestatusService extends IService<XjrOaMessagestatus> {

    boolean readMessage(String id);

   boolean addMessageStatus(XjrOaMessage xjrOaMessage,List<String> userids);

     boolean readAllMessage(Integer module) throws Exception;

     boolean deleteMessagestatusByIds(List<String> messageIds);

     int unreadCount(String userId);
}
